#ifndef BATCHNETWORKACCESSMANAGER_H
#define BATCHNETWORKACCESSMANAGER_H

#include <QtNetwork>
//#include "t_core/nam.h"

////class BatchNetworkAccessManager : public T_NetworkAccessManager
class BatchNetworkAccessManager : public QNetworkAccessManager
{
    Q_OBJECT
public:
    explicit BatchNetworkAccessManager(QObject *parent = 0);

    QByteArray doGet(QString a_url, QString *a_contentType = 0);
    QByteArray doGet(QUrl a_url, QString *a_contentType = 0);
    QByteArray doGet(QNetworkRequest request, QString *a_contentType = 0);
    QByteArray doPost(QNetworkRequest request, QByteArray postData);
    int batPost(QNetworkRequest request, QByteArray &postData, QByteArray &responsdData);
    int batDelete(QNetworkRequest request);
    QList<QByteArray> doGetList(QList<QNetworkRequest> requestList);
signals:

public slots:

};

#endif // BATCHNETWORKACCESSMANAGER_H
